#!/bin/sh
#
# Author ： hbaolong@vip.qq.com
#
# Function : 这是一个模板
#
#
#

if [ $# -lt 1 ]; then
	echo "Usage: $0 words."
	exit
fi

file="/Users/hbaolong/workshop/gitee/3place/5002每日三词/wordscandidate.md"

for word in $@
do
	if ! grep -q -w $word $file; then 
		if isword $word ; then 
			echo $word >> $file
			echo "" >> $file
		fi
	else
			echo "have exist " $word
	fi

done
